import { createApp } from 'vue'
import 'highlight.js/styles/atom-one-dark.css'
import 'highlight.js/lib/common'
import hljsVuePlugin from '@highlightjs/vue-plugin'
import "./assets/tailwind.css";
import App from './App.vue'
import router from "./router/index.js";
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

import 'echarts'
import ECharts from 'vue-echarts'

const app = createApp(App)

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.component('v-chart', ECharts)


app.use(hljsVuePlugin)
app.use(router)



app.mount('#app')
